﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MyApp.DataModels;
using MyApp.IRepository;
using FullCoreDBModels;
using System.IO;
using MyApp.Service;
using MyApp.DataModels.DTO;
using MyApp.IService;

namespace MyApp.Service
{
    public class InterfaceToolService : BaseService<InterfaceToolEntity>, IInterfaceToolService
    {
        IInterfaceToolRepository repository;
        public InterfaceToolService(IInterfaceToolRepository repository) 
        {
            base._baseRepository = repository;
            this.repository = repository;
        }
        public List<InterfaceToolEntity> GetInterfaceTool(List<ConditionArgs> conditions)
        {
            return repository.GetInterfaceTool(conditions);
        }

        public CommonResult SaveInterfaceTool(List<InterfaceToolEntity> interfaces)
        {
            return repository.SaveInterfaceTool(interfaces);
        }

        public string Test()
        {
            
            return repository.Test();
        }
        
       
    }
}

